package com.imufe.chemicalenterprisedangerwarning.service;

import com.imufe.chemicalenterprisedangerwarning.entity.po.EnterpriseDepartmentPO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.imufe.chemicalenterprisedangerwarning.entity.query.EnterpriseDepartmentQuery;
import com.imufe.chemicalenterprisedangerwarning.entity.query.SafetySupervisionBureauQuery;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.EnterpriseDepartmentVO;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.SafetySupervisionBureauDetailedVO;

import java.util.List;

/**
 * <p>
 * 企业部门表 服务类
 * </p>
 *
 * @author BaiBan
 * @since 2022-09-24
 */
public interface EnterpriseDepartmentService extends IService<EnterpriseDepartmentPO> {

    /**
     * 返回一个企业部门集合
     * @param enterpriseId 企业id
     * @return 企业部门集合
     */
    List<EnterpriseDepartmentVO> list(Long enterpriseId);

    /**
     * 企业部门详细
     */
    EnterpriseDepartmentVO detailed(Long id);

    /**
     * 新增一个企业部门
     */
    EnterpriseDepartmentVO create(EnterpriseDepartmentQuery query);

    /**
     * 修改企业部门信息
     */
    EnterpriseDepartmentVO update(EnterpriseDepartmentQuery query);
}
